package com.snow.campuslink.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.snow.campuslink.user.entity.User;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Gaosl
 * @since 2021-01-20
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * TODO
     *
     * @param paramMap
     * @author Gaosl
     * @date 2021/2/7 18:13
     * @return java.lang.Integer
     */
    Integer selectIsRegistered(Map<String, Object> paramMap);

    /**
     * TODO
     *
     * @param userId
     * @author Gaosl
     * @date 2021/2/14 13:43
     * @return java.lang.String
     */
    String getUsernameById(Long userId);

}
